package com.qf.carlikeboot.mapper;

import com.qf.carlikeboot.domain.User;

import java.util.List;

/**
 * @description 针对表【user】的数据库操作Mapper
 * @createDate 2022-05-20 09:50:17
 * @Entity com.qf.carlikeboot.domain.User
 */

public interface UserMapper {
    int deleteByPrimaryKey(Long id);

    int insert(User record);

    int insertSelective(User record);

    User selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(User record);

    int updateByPrimaryKey(User record);

    // 根据用户名查询用户
    List<User> selectByName(String name);

}
